#pragma once

class CGMUrlAddressHistory
{
public:
	CGMUrlAddressHistory(void);
	~CGMUrlAddressHistory(void);

public:
	BOOL LoadHistoryUrls();
	BOOL SaveHistoryUrls();

	void AddNewUrl(CString strUrl);

	int GetHistoryCount() const;
	const CString GetUrlByIndex(int index) const;

private:
	BOOL CheckURLExist(const CString strUrl) const;
	

private:
	CStringArray m_HistoryUrls;
	CString		m_HistroyFilePath;
	
};
